export default [
  {
    label: '字段名',
    type: 'input',
    prop: 'prop',
    rules: [
      {required: true}
    ]
  },
  {
    label: '标签文本',
    type: 'input',
    prop: 'label'
  },
  {
    label: '列的宽度',
    type: 'input',
    prop: 'width',
    props: {
      placeholder: '只对列的宽度'
    }
  },
  {
    label: '最小宽度',
    type: 'input',
    prop: 'min-width',
    props: {
      placeholder: '只对列的最小宽度',
    }
  },
  {
    label: '是否显示',
    type: 'switch',
    prop: 'is-show',
    props: {},
    value:true
  },
  {
    label: '拖动列',
    type: 'switch',
    prop: 'resizable'
  },
  {
    label:'内容对齐',
    prop: 'align',
    type: 'radio',
    options:[
      {lable:'left',value:'left'},
      {lable:'center',value:'center'},
      {lable:'right',value:'right'},
    ],
    props: {
      button: true
    }
  },
  {
    label:'表头对齐',
    prop: 'header-align',
    type: 'radio',
    options:[
      {lable:'left',value:'left'},
      {lable:'center',value:'center'},
      {lable:'right',value:'right'},
    ],
    props: {
      button: true
    }
  }
]
